package com.haircut.project.vo.group;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@Setter
@Getter
public class BatchGroupConfigRelVo {
    /**
     * 分组id
     */
    @NotBlank(message = "分组id")
    private String groupId;
    /**
     * 配置列表
     */
    @NotNull(message = "配置列表")
    @Size(min = 1,message = "配置列表必须添加")
    private List<GroupConfigRelVo> list;
}
